import 'package:app_30/models/img_entity.dart';

imgEntityFromJson(ImgEntity data, Map<String, dynamic> json) {
  if (json['user'] != null) {
    data.user = json['user'].toString();
  }
  if (json['img'] != null) {
    data.img = json['img'].toString();
  }
  return data;
}
